package net.maku.im.convert;

import net.maku.im.entity.ImSensitiveWordEntity;
import net.maku.im.vo.ImSensitiveWordVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 敏感词
*
* @author Blue 
* @since 1.0.0 2024-07-20
*/
@Mapper
public interface ImSensitiveWordConvert {
    ImSensitiveWordConvert INSTANCE = Mappers.getMapper(ImSensitiveWordConvert.class);

    ImSensitiveWordEntity convert(ImSensitiveWordVO vo);

    ImSensitiveWordVO convert(ImSensitiveWordEntity entity);

    List<ImSensitiveWordVO> convertList(List<ImSensitiveWordEntity> list);

}